package ldh.im.fxbase.util;

import ldh.im.fxbase.service.FileDownloadAndUploadService;
import ldh.rpc.RpcBootstrap;

public class RpcUtil {

    private static volatile FileDownloadAndUploadService IM_SERVICE = null;

    private static volatile RpcBootstrap rpcBootstrap = null;


    public static FileDownloadAndUploadService getImService() {
        return IM_SERVICE;
    }

    public static void setImService(FileDownloadAndUploadService fileDownloadAndUploadService) {
        IM_SERVICE = fileDownloadAndUploadService;
    }


    public static RpcBootstrap getRpcBootstrap() {
        return rpcBootstrap;
    }

    public static void setRpcBootstrap(RpcBootstrap rpcBootstrap) {
        RpcUtil.rpcBootstrap = rpcBootstrap;
    }

}
